import Vue from 'vue'
import App from './App.vue'
import router from './router'

Vue.config.productionTip = false

//根实例
new Vue({
  router, //相当于router：router
  render: h => h(App) //渲染APP组件
}).$mount('#app') //将根实例挂载到div
